package com.cssl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName top_up
 */
@TableName(value ="top_up")
@Data
public class TopUp implements Serializable {
    /**
     * 充值订单
     */
    @TableId(type = IdType.AUTO)
    private Integer top_up_order;

    /**
     * 员工编号
     */
    private Integer employee_id;

    /**
     * 用户账号
     */
    private Integer number;

    /**
     * 充值金额
     */
    private BigDecimal amount;

    /**
     * 充值时间
     */
    private LocalDateTime time;

    /**
     * 说明
     */
    private String text;

    public TopUp() {
    }

    public TopUp(Integer employee_id, Integer number, BigDecimal amount, LocalDateTime time, String text) {
        this.employee_id = employee_id;
        this.number = number;
        this.amount = amount;
        this.time = time;
        this.text = text;
    }

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}